Repository navigation
feat: add AWS DevOps Agent regions and send the API version - #925
Merged
Merged
Conversation
Setup accepts us-east-2, ap-northeast-2, eu-west-3, and eu-north-1. The token check sends LD-API-Version 20240415, the same version that the resources client sends. internal/resources exports APIVersion, so both use one constant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cchu-ld
marked this pull request as ready for review
October 20, 2026 18:40
cchu-ld
requested review from
a team and
davidbrackbill
and removed request for
a team
October 20, 2026 18:40
Andrewjeska
approved these changes
Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requirements
Related issues
None.
Describe the solution you've provided
setuprejectedus-east-2,ap-northeast-2,eu-west-3, andeu-north-1, but the AWS DevOps Agent is available in those regions.SupportedRegionshas 15 regions, up from 11.LD-API-Versionheader. Thus the response depended on the default API version of the token.LD-API-Version: 20240415.internal/resourcesexportsAPIVersion, so both use one constant. The rename fromapiVersionexports the constant, because Go hides a lowercase name from other packages.Describe alternatives you've considered
None.
Additional context
Testing:
go test ./...andgolangci-lintpass on this branch.🤖 Generated with Claude Code
Note
Overview
AWS DevOps Agent support expands from 11 to 15 regions by adding
us-east-2,ap-northeast-2,eu-west-3, andeu-north-1inSupportedRegions, soldcli aws-devops-agent setupno longer rejects those control-plane regions. The README region list matches.LaunchDarkly token validation before MCP registration now sends
LD-API-Version: 20240415on the caller-identity check, so validation does not depend on each token’s default API version.internal/resourcesexportsAPIVersion(formerly unexportedapiVersion) for shared use with the REST client.Tests cover the new allowlist, near-miss rejections, the full region list, and the API version header.
Reviewed by Cursor Bugbot for commit e6239a6. Bugbot is set up for automated code reviews on this repo. Configure here.